<legend class='hyc-legend'>
    <i class="fa fa-tasks"></i>&nbsp;
    <span>司机账单列表</span>
</legend>
<table class="table table-bordered">
    <tr>
        <th class="text-center">编号</th>
        <th class="text-center">账户ID</th>
        <th class="text-center">账户名称</th>
        <th class="text-center">金额</th>
        <th class="text-center">开始日期</th>
        <th class="text-center">结束日期</th>
        <th class="text-center">账期</th>
        <th class="text-center">状态</th>
        <th class="text-center">创建时间</th>
        <th class="text-center">操作</th>
    </tr>
    <tr ng-repeat="item in cBills track by $index">
    	<td class="text-center">{{item.id}}</td>
        <td class="text-center">{{item.userId}}</td>
        <td class="text-center">{{item.userName}}</td>
        <td class="text-center">&yen;{{item.amount | number:2}}</td>
        <td class="text-center">{{item.beginDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        <td class="text-center">{{item.endDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        <td class="text-center">周</td>
        <td class="text-center" ng-show="item.status == '10'">
           	 未结算
        </td>
        <td class="text-center" ng-show="item.status == '20'">
           	 结算申请
        </td>
        <td class="text-center" ng-show="item.status == '30'">
             已结算
        </td>
        <td class="text-center">{{item.createTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        <td class="text-center">
 			<!--<a href="javascript:;" ui-sref="details(item.id)">明细</a>-->
            <a ui-sref="bill-details({billId: item.id})">明细</a>
        </td>
    </tr>
    <tr ng-if="cBills.length <= 0">
        <td colspan="10">
            <div class="hyc-color text-center">
                暂无符合条件的数据
            </div>
        </td>
    </tr>
</table>
<div ng-include="pageIncludeUrl" ng-if="cBills.length > 0"></div>